<?php /* Smarty version Smarty-3.1.12, created on 2013-02-10 17:31:31
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/find_match/singleQueue/carousel.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1130211450f1b19c89a708-41220794%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '86172a49d8c6bce64300925dced017e394f8c9f4' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/find_match/singleQueue/carousel.tpl',
      1 => 1360513889,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1130211450f1b19c89a708-41220794',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_50f1b19c900fa0_91372745',
  'variables' => 
  array (
    'modi' => 0,
    'active_item' => 0,
    'v' => 0,
    'eloArray' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50f1b19c900fa0_91372745')) {function content_50f1b19c900fa0_91372745($_smarty_tpl) {?><div id="SingleQueueCarousel" class="carousel slide span5 eloCarousel"> 
    <!-- Carousel items -->
    <div class="carousel-inner">
      <?php if (count($_smarty_tpl->tpl_vars['modi']->value)>0&&is_array($_smarty_tpl->tpl_vars['modi']->value)){?>
          <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['modi']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['v']->iteration=0;
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
 $_smarty_tpl->tpl_vars['v']->iteration++;
?>
          		<?php if ($_smarty_tpl->tpl_vars['v']->iteration==1){?>
              	<?php $_smarty_tpl->tpl_vars["active_item"] = new Smarty_variable("active", null, 0);?>
              <?php }else{ ?>
              	<?php $_smarty_tpl->tpl_vars["active_item"] = new Smarty_variable('', null, 0);?>
              <?php }?>
              <div class="item <?php echo $_smarty_tpl->tpl_vars['active_item']->value;?>
">
              			<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['eloArray']->value[1][$_smarty_tpl->tpl_vars['v']->value['MatchModeID']];?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['v']->value['Shortcut'];?>
<?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->getSubTemplate ("prototypes/eloAward.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('elo'=>$_tmp1,'matchModeShortcut'=>$_tmp2,'matchMode'=>$_smarty_tpl->tpl_vars['v']->value['Name']), 0);?>
						
			</div>
          <?php } ?>
      <?php }?>
    </div>
    <!-- Carousel nav --> 
    <a class="carousel-control left" href="#SingleQueueCarousel" data-slide="prev">&lsaquo;</a> 
    <a class="carousel-control right" href="#SingleQueueCarousel" data-slide="next">&rsaquo;</a> 
</div>
<?php }} ?>